package com.tsing.pojo.vo;

import java.util.List;

/**
 * @author 吴阳基
 * @datetime 2023/12/8 14:43
 */
public class ArticleDetailsVO {
    //（用户ID）
    private Long postId;
    //（作者头像）
    private String userImage;
    //（作者昵称）
    private String userName;
    //（文章名称）
    private String title;
    //（文章图片）
    private String image;
    //（文章点赞数）
    private Long likeCount;
    //（用户id）
    private Long userId;
    //（是否点赞）
    private Long loveCount;
    //帖子状态
    private Long status;


    public ArticleDetailsVO() {
    }

    public ArticleDetailsVO(Long postId, String userImage, String userName, String title, String image, Long likeCount, Long userId, Long loveCount, Long status) {
        this.postId = postId;
        this.userImage = userImage;
        this.userName = userName;
        this.title = title;
        this.image = image;
        this.likeCount = likeCount;
        this.userId = userId;
        this.loveCount = loveCount;
        this.status = status;
    }

    /**
     * 获取
     * @return postId
     */
    public Long getPostId() {
        return postId;
    }

    /**
     * 设置
     * @param postId
     */
    public void setPostId(Long postId) {
        this.postId = postId;
    }

    /**
     * 获取
     * @return userImage
     */
    public String getUserImage() {
        return userImage;
    }

    /**
     * 设置
     * @param userImage
     */
    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取
     * @return likeCount
     */
    public Long getLikeCount() {
        return likeCount;
    }

    /**
     * 设置
     * @param likeCount
     */
    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return loveCount
     */
    public Long getLoveCount() {
        return loveCount;
    }

    /**
     * 设置
     * @param loveCount
     */
    public void setLoveCount(Long loveCount) {
        this.loveCount = loveCount;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    public String toString() {
        return "ArticleDetailsVO{postId = " + postId + ", userImage = " + userImage + ", userName = " + userName + ", title = " + title + ", image = " + image + ", likeCount = " + likeCount + ", userId = " + userId + ", loveCount = " + loveCount + ", status = " + status + "}";
    }
}
